{% extends "base.html" %}
{% block title %}登录{% endblock %}
{% block main %}
    <div style="display: flex;justify-content: center;align-items: center;" class="my-5">
        <main class="bg-white p-3 rounded" style="width:400px;height: 600px;">
            <h2 class="text-center my-5">登录</h2>
            <form action="" method="post">
                {% csrf_token %}
                <div class="mb-3">
                    <label for="exampleInputEmail1" class="form-label">邮箱：</label>
                    <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" name="email">
                </div>
                <div class="mb-3">
                    <label for="exampleInputPassword1" class="form-label">密码</label>
                    <input type="password" class="form-control" id="exampleInputPassword1" name="password">
                </div>
                <div class="mb-3 form-check mb-4">
                    <input type="checkbox" class="form-check-input" id="exampleCheck1" name="remember" value="1">
                    <label class="form-check-label" for="exampleCheck1">记住我</label>
                </div>
                <button type="submit" class="btn btn-primary w-100">立即登录</button>
            </form>
        </main>
    </div>
{% endblock %}